<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<h1>下载案例</h1>
    <a href="/testDown">下载1.png</a>
</body>
<h1>上传案例</h1>

    <form action="/testUp" enctype="multipart/form-data" method="post">
        头像：<input type="file" name="photo"><br>
        <input type="submit" value="上传">
    </form>

</body>

</html>